Do you have a text file you want displayed on the internet in a scrolling format? Perhaps you're a writer and would like to display your story in a easy to read format, or maybe you have a large technical document that you want displayed in an economy of space? If so, this feature is perfect for your needs: the Consultscroll Vertical Text Scroller supports the seamless embedding of any text file of unlimited size right into the scrollers real estate! Lines are automatically reformatted and wrapped to fit the scroller. Simply create your text file as you normally do (or start with and existing text file), then add the new line symbol <BR> to the text file wherever you want a line to skip, that's it! The main difference between the scroller on this page and the one in the Easy Setup section of the help file is how the two scrollers get their input parameters. The Easy Setup scroller gets all its input parameters from HTML param tags. The applet on this page reads a text file and displays those lines seamlessly in the scroller after the lines inputted from HTML param tags. Using a text file as input to the applet is easy. Create a text file with the text you want displayed and put it in the same directory as the applet class file. Then use the 2 applet parameters textFile and insertTextFile to tell the applet the name of the text file, and where you want the lines displayed. When using a text file as input, you may set up the scroller so that it auto-wraps the text for you. Just set the textFileWrap parameter to yes. If you do not want the scroller to automatically wrap the text, then set this parameter to no and type the text in your file exactly the way you want it to appear in the scroller. Changing properties of the inputted lines must be done in the HTML file using the default param tags. For example, use the default param tag colorDefault to control the color of the inputted lines. Now users with no knowledge of HTML can dynamically alter the scrollers real estate by modifying a simple text file. Dynamically changing information, like news or weekly promotions, can now be displayed on the scroller quickly and easily.
|